<?php

use yii\helpers\Html;

/* @var $this  yii\web\View */
/* @var $model \yii2mod\rbac\models\BizRuleModel */

$this->title = $prod_spec_name . Yii::t('region',   '创建');
//$this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', 'Rules'), 'url' => ['index']];
//$this->params['breadcrumbs'][] = $this->title;
//$this->render('/layouts/_sidebar');
?>
<section class="content">
    <div class="row">
        <div id="tel-repeat-warning" class="col-md-10" style="display:none">

            <a class="btn btn-block btn-social btn-flickr">
                <i class="fa fa-flickr"></i> <h4 class = "repeatorder-desc"></h4>
            </a>

        </div>
        <div class="pull-right">
            <?php echo Html::a(Yii::t('region', 'Back'), Yii::$app->request->getReferrer(), ['class' => 'btn btn-default ']); ?>

        </div>
    </div>
    <div class="row">
        <div class="col-md-2">
        </div>
<!--            <div class="col-md-8">-->

                <?php
                echo $this->render('_form', [
                    'custSources'  =>$custSources,
                    'orderModel'  =>$orderModel,
                    'orderAttrSpecs'  => $orderAttrSpecs,
                    'domainTypes'  => $domainTypes,
                    'domainSources' => $domainSources,
                    'parent_prod_id' => $parent_prod_id,
                    'p1' =>$p1,
                    'model' => $model,
                    'uploadModel' => $uploadModel,
                    'attr_type_spec_id' => $attr_type_spec_id,
                    'prodSpecName' =>$prodSpecName,
                    'attrSpecs' => $attrSpecs,
                    'regionList' =>$regionList,
                    ]);
                ?>

<!--        </div>-->
        <div class="col-md-2">
        </div>
    </div>
</section>